def lib(x, y):
    if x < y:
        temp = x
        x = y
        y = temp
    return (x - y)

def client(c, d):
    if c > d:
        return lib(c, d)
    else:
        return lib(d, c)